package b.g.b.h;

import b.g.b.c;
import java.util.ArrayList;

/* compiled from: WidgetContainer */
public class k extends d {
    public ArrayList<d> l0 = new ArrayList();

    public void B() {
        this.l0.clear();
        super.B();
    }

    public void D(c cVar) {
        super.D(cVar);
        int size = this.l0.size();
        for (int i = 0; i < size; i++) {
            ((d) this.l0.get(i)).D(cVar);
        }
    }

    public void P() {
        ArrayList arrayList = this.l0;
        if (arrayList != null) {
            int size = arrayList.size();
            for (int i = 0; i < size; i++) {
                d dVar = (d) this.l0.get(i);
                if (dVar instanceof k) {
                    ((k) dVar).P();
                }
            }
        }
    }
}
